const user = {
    name:"Daniel",
    age: 26,
};

// user.location

// const announcement = "Hello World";

// announcement.toLocaleLowerCase();
// // announcement.toLocalUpperCase();
// // We probably meant to write this...
// announcement.toLocaleUpperCase();

// function flipCoin() {
//     return Math.random < 0.5;
// }


// const value = Math.random() < 0.5 ? "a" : "b";
// if(value !== "a") {
//     // ...
// } else if (value !== "b") {
    
// }

// import express from "express";
// const app = express();
// app.get("/", function(req, res){
//     res.send("hello world");
// });
// app.listen(3000);

// function greet(person:string, date:Date) {
//     console.log(`Hello ${person}, today is ${date.toDateString()}!`);
// }

// greet("beand", new Date());

// let msg = new Date();

function greet(person, date) {
    console.log("Hello ".concat(person, ", today is ").concat(date.toDateString(), "!"));
}

greet("beand", new Date());